All Questions
Tagged with shared-memoryvirtual-memory
6 questions
2votes
1answer
5kviews
When should I alter overcommit_memory and what should I take into consideration when doing so?
I'm having a PC freeze issue that I can't seem to figure out. I have three identical PCs. They are each custom builds with i7 and 64GB of RAM. The OS drives are 512GB nvme drives. They each run ...
0votes
1answer
1kviews
How to understand PBS output "mem" and "vmem" keep the same when the task is x-fold increased with mpirun -np x task
Here is a simple experiment I tried: Given a task called "sim.exe" which doing a model simulation, I then use MPI to launch x "sim.exe" simultaneously on one node (shared memory system). I have tried ...
5votes
2answers
10kviews
Are sharing a memory-mapped file and sharing a memory region implemented based on each other?
Are sharing a memory-mapped file and sharing a memory region implemented based on each other? The following two quotes seem to say so, and seem a chicken-egg problem to me. Operating System Concepts ...
1vote
1answer
802views
Interpetation of /proc/sys/kernel/shmall
Unless I am wrong. the value of /proc/sys/kernel/shmall indicates the the total amount of shared memory, in bytes, that can be allocated to the system. I am on a t2.micro ec2 debian instance, and I ...
17votes
1answer
25kviews
Understanding mmap
I was going through documentation regarding mmap here and tried to implement it using this video. I have a few questions regarding its implementation. Does mmap provide a mapping of a file and return ...
6votes
1answer
8kviews
How to know shared memory between two processes?
I need to know the amount of memory shared between two processes, that is, the intersection of their shared memories. Any ideas?